<?php namespace App;

use Illuminate\Database\Eloquent\Model;

class Source extends Model {

	//
    public function user()
    {
        return $this->belongsTo('App\User');
    }
    public function follow()
    {
        return $this->hasMany('App\Follow', 'follow_user_id','user_id');
    }
    public function file()
    {
        return $this->belongsTo('App\File');
    }

}
